<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:p="http://primefaces.org/ui"
	xmlns:f="http://java.sun.com/jsf/core" xml:lang="es" lang="es">
<h:head>
	<title>My Facelets Page</title>	  
	<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
	<link rel="stylesheet" type="text/css" href="./css/general.css" /> 
</h:head>
<h:body>
	<h:form>
		<p:panelGrid columns="3" styleClass="centrado">
			<f:facet name="header">  
		       Documentacion
		    </f:facet>
			<h:outputLabel for="dniCif" value="Usuario" />
			<p:inputText id="dniCif" value="#{loginBean.dniCif}" required="true" />
			<p:message id="dniCifMessage" for="dniCif" />

			<h:outputLabel for="clave" value="Clave" />
			<p:password id="clave" value="#{loginBean.clave}"  feedback="false"/>    
			<p:message id="claveMessage" for="clave" display="icon" />
			<f:facet name="footer">
				<p:commandButton id="submitButton" 
				action="#{loginBean.comprobarProveedor}" ajax="false" value="Enviar"
					style="margin:0" />
			</f:facet>
			
		</p:panelGrid> 
	</h:form>
</h:body>
</html>
